mymoment_cell = {'deviation','density','freq','size'};

Table_data = readtable('../../data/2023_04 Figure2Data/withoutUnobservedHeterogeneity.csv');
for jj=1:length(mymoment_cell)
    eval([mymoment_cell{jj} '_data = Table_data.' mymoment_cell{jj} './100;']);
end

mymoment_cell_name = {'std_ref_price','std_ref_price_density'};
mymoment_cell_xls = {'middleRange','fraction'};

Table_data = readtable('../../data/Iri-Stata/r1_standardized_10pct/r1_standardized/refPriceChangeDistribution/standardisedHistogram.csv');
for jj=1:length(mymoment_cell_name)
    eval([mymoment_cell_name{jj} '_data = Table_data.' mymoment_cell_xls{jj} ';']);
end

mymoment_cell_name = {'std_gap','std_gap_density'};
mymoment_cell_xls = {'middleRange','fraction'};

Table_data = readtable('../../data/Iri-Stata/r1_standardized_10pct/r1_standardized/compGapDistribution/standardisedHistogram.csv');
for jj=1:length(mymoment_cell_name)
    eval([mymoment_cell_name{jj} '_data = Table_data.' mymoment_cell_xls{jj} ';']);
end

mymoment_cell = {'freq_any_h1_mean','freq_any_h3_mean','freq_any_h12_mean','freq_any_h24_mean'};

Table_data = readtable('../../data/Iri-Stata\CompHorizon/CompRefwoHeterogeneity.csv');
for jj=1:length(mymoment_cell)
    eval([mymoment_cell{jj} '_data = Table_data.' mymoment_cell{jj} './100;']);
end



